//
//  AuthorCell.m
//  EverydayDemo
//
//  Created by qianfeng01 on 15-7-19.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import "AuthorCell.h"
#import "UIImageView+WebCache.h"
@implementation AuthorCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setData:(AuthorModel *)model
{
//    self.IconImageView.layer.masksToBounds=YES;
//    self.IconImageView.layer.cornerRadius=20;
    [self.IconImageView sd_setImageWithURL:[NSURL URLWithString:model.avator]];
    self.authorName.text=model.name;
    self.titleName.text=model.title;
    self.categoryName.text=model.categoryStr;
    
}
@end
